package my.avoskagae.model.entity;



public interface Purchase {

	
	public enum State {PLANED, PURCHASED, CANCELED}

	/**
	 * @return  Returns the name.
	 * @uml.property  name="name" readOnly="true"
	 */
	public String getName();

	/**
	 * @return  Returns the state.
	 * @uml.property  name="state"
	 */
	public State getState();

	/**
	 * Setter of the property <tt>state</tt>
	 * @param state  The state to set.
	 * @uml.property  name="state"
	 */
	public void setState(State state);

	/**
	 * @return  Returns the product.
	 * @uml.property  name="product"
	 * @uml.associationEnd  inverse="purchase:my.avoska.shared.model.Product"
	 */
	public Product getProduct();

	/**
	 * Setter of the property <tt>product</tt>
	 * @param product  The product to set.
	 * @uml.property  name="product"
	 */
	public void setProduct(Product product);

}
